<%@page import="tianqi.entity.UserY"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	System.out.println("basePath: "+basePath);
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>田奇-支付</title>
    <link rel="stylesheet" type="text/css" charset="utf-8" href="css/orderSubmit.css">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="js/jquery-1.11.3.js"></script>
    <script type="text/javascript" charset="utf-8" src="js/bootstrap.min.js"></script>
    
    
</head>
<body>
	<div class="container" style="width:1211px;margin:0 auto;">
		<div class="col-md-5 col-md-offset-5">
						<h1>某宝 支付系统</h1>
		</div>
		<c:choose>
   				<c:when test="${msg=='1' }"> 
   					<div class="col-md-5 col-md-offset-5">
						<h1>${user.uname } 您好！ 欢迎光临某宝支付</h1>
					</div>
   				</c:when>
   				<c:otherwise>
   					
   					<div class="col-md-5 col-md-offset-4">
   					<c:choose>
   						<c:when test="${msg=='2' }"> 
   							<div class="col-md-5 col-md-offset-5">
								<h1>${msg1} </h1>
							</div>
   						</c:when>
   						<c:otherwise>
						<h2>${user.uname } 您好！  您的余额不足请充值</h2>
						</c:otherwise>
					</c:choose>
					</div>
   				
   				
   				
   					
   				</c:otherwise>
			</c:choose>
	
	<form class="form-horizontal col-md-6 col-md-offset-3" action="${pageContext.request.contextPath}/loginmb.tq">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">用户名:</label>
    <div class="col-sm-10">
      <input name="uname" type="text" class="form-control" id="inputEmail3" placeholder="${user.uname }">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">密码:</label>
    <div class="col-sm-10">
      <input name="pwd" type="password" class="form-control" id="inputPassword3" placeholder="密码:">
    </div>
  </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">登录</button>
    </div>
  </div>
</form>
		
		
		
		
		
		
	</div>

</body>
</html>